﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FOpen.aspx.cs" Inherits="Gmis.Web.Manage.Affairs.FOpen" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="pagerForm" method="post" action="Affairs/FOpen.aspx">
    <input type="hidden" name="status" value="status" />
    <input type="hidden" name="keywords" value="keywords" />
    <input type="hidden" name="numPerPage" value="<% =NumPerPage %>" />
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="orderField" value="" />
    </form>
    <div class="pageHeader">
        <!--<搜索栏>-->
        <form onsubmit="return navTabSearch(this);" action="Affairs/FOpen.aspx" method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>财务计划：</label>
                    <input name="FPlan" type="text" value="<%=FPlan %>" />
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">检索</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        </form>
        <!--</搜索栏>-->
    </div>
    <div class="pageContent">
        <div class="panelBar">
            <ul class="toolBar">
                <li><a class="add" target="dialog" href="Affairs/FOpenEdit.aspx?action=add" width="800" height="350"><span>添加计划</span> </a></li>
                <li><a class="delete" href="Affairs/FOpenHandler.ashx?action=deleteall" posttype="string"
                    rel="ids" target="selectedTodo" title="确实要删除这些记录吗?"><span>批量删除</span> </a></li>
                <li class="line">line</li>
                <%--<li><a class="icon" href="javascript:void(0);"><span>导入EXCEL</span></a></li>--%>
            </ul>
        </div> 
        <table class="table" width="100%"  >
            <thead>
                <tr>
                    <th width="22">
                        <input type="checkbox" group="ids" class="checkboxCtrl">
                    </th>
                    <th width="80">财务计划</th>
                    <th width="80">各项收入</th>
                    <th width="80">各项支出</th>     
                    <th width="80">各项财产</th>
                    <th width="80">债权债务</th>
                    <th width="80">收益分配</th>                                        
                    <th width="80">农民承担费用</th>                                        
                    <th width="80">操作</th>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="RepeaterTr" runat="server">
                    <ItemTemplate>
                        <tr style="height:40px">
                            <td>
                                <input name="ids" type="checkbox" value='<%#DataBinder.Eval(Container.DataItem, "sId")%>' />
                            </td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sPlan")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sIncome")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sExpenses")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sProperty")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sDebtorCreditor")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sDistribution")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sBear")%></td>                                                                                  
                            <td>
                                <a title="删除" target="ajaxTodo" href="Affairs/FOpenHandler.ashx?action=delete&id=<%# DataBinder.Eval(Container.DataItem, "sId")%>" class="btnDel">确定删除该记录吗?</a> 
                                <a title="编辑" target="dialog" width="800" height="350" href="Affairs/FOpenEdit.aspx?id=<%# DataBinder.Eval(Container.DataItem, "sId")%>&action=edit" class="btnEdit">编辑</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
   
        <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">       
                    <option value="<%=NumPerPage%>"></option>   
                    <option value="20">20</option>
                    <option value="30">30</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=NumPerPage%>"
                pagenumshown="<%=PageNumShown%>" currentpage="<%=PageNum%>">
                "></div>
        </div>
    </div>
</body>
</html>
